

  	<#include "../include/comm_jlb_macro.ftl"/>
<html>
	<head>
	<title>网站后台管理系统-${pageTitle!''}管理</title>
	<@gmc_common_js "select" />
</head>
	<body>
	<div class="right">
    <div class="location">
     <div class="location01">您现在的位置是：首页 &gt; <strong class="m_title"></strong></div>
    </div>
    <div class="sort">
     <div class="sort1 m_title" ></div>
     <div class="query">
  	
	<form id="queryForm" >
	<ul>
	 	<li style="width:25%">
       	<span class="classify">任务类型：</span>
    	<select id="jobType" name="jobType">
    		 <option value="" > 请选择 </option>
    		   <#list HeartbeatJobType.values() as c>
             	<option value="${c.code}" <#if  jobType?? && jobType!=''> <#if jobType?number==c.code> selected </#if> </#if>  > ${c.title!''} </option>
         		</#list>
    	</select>
       </li>
       <li style="width:30%">
       	<span class="classify">定时结果：</span>
    	<select id="resultType" name="resultType">
    		 <option value="" > 请选择 </option>
		    <#list HeartbeatResultType.values() as c>
         	<option value="${c.code}" <#if  resultType?? && resultType!=''> <#if resultType?number==c.code> selected </#if> </#if>  > ${c.title!''} </option>
     		</#list>
    	</select>
       </li>
       
        <li style="width:15%">
   		 <button type="button" class="btn btn-default" id="queryBtn">查&nbsp;询</button>
   	   </li>
      </ul>
      
  </form>
     </div>
    </div>
    <div class="form">
     
     <div class="form2">
     
<table width="100%"  border="1" align="left" cellpadding="0" cellspacing="0" bordercolor="#ffffff" style="border-collapse:collapse">
      <tr class="lan">
      
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>任务类型</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>定时结果</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>异常内容</strong></td>
        <td height="37" align="center" valign="middle" background="/images/erji_22.jpg"><strong>触发时间</strong></td>
       </tr>
       <#list pager.data as c>
       <tr>
       
		  <td align="center" class="hui">
			  <#if c.jobType??>
	        	 ${HeartbeatJobType.get(c.jobType).getTitle()}
	          </#if>
		  </td>
		  <td align="center" class="hui">
		  <#if c.resultType??>
        	 ${HeartbeatResultType.get(c.resultType).getTitle()}
          </#if>
		  </td>
		  <td align="center" class="hui" title="${c.exceptionContent!''}" >
		   <#if c.exceptionContent??>
		  	${StringUtil.truncate(c.exceptionContent,10,"...")}
		   </#if>
		  </td>
		 <td align="center" class="hui">
    			 <#if c.inDate??>
	        	 	 ${c.inDate?string("yyyy-MM-dd HH:mm:ss")}
	 		 	 </#if>
	 	 </td>
        
		
       </tr>
       </#list>
       <tr>
     	 <td colspan="10" valign="middle" class="d">
     	 
      			<#if subject.isPermitted("accountExpandInfo:detail")>  <#--taskScheduleHeartbeat:delete  -->
     	 	 <div class="btn-group" style="display:none;">
			   <button type="button" class="btn btn-default"  onclick="javascipt:void(0);">删除</button>
      	 	 </div>
				</#if>
     	 	
     	 </td>
       </tr>
      </table>
     
     </div>
     <@pageBar   pager=pager url="/taskScheduleHeartbeat/list.action?jsonParam=${jsonParam!''}" join="&"> </@pageBar> 
    
    </div>
   </div>
  <!-- 弹窗 结束 -->
	<#include "../include/deleteConfirmModal.ftl">
    <script src="/js/scheduleHeartbeat.js"></script>
    <script>
		scheduleHeartbeat.initPage();
	</script>
</html>



